package com.dddexplained.designbootcamp.designpatterns.state.device.after;

public abstract class DeviceState {
    public abstract void gotoInitial();
    public abstract void gotoMasterBoardShell();
    public abstract void gotoMasterBoardUshell();
    public abstract void gotoSlaveBoardShell();
    public abstract void gotoSlaveBoaardUshell();

    protected void login() {
        System.out.println("login");
    }
    protected void logout() {
        System.out.println("logout");
    }
    protected void enterSlaveBoard() {
        System.out.println("enter slave board");
    }
    protected void exitSlaveBoard() {
        System.out.println("exit slave board");
    }
    protected void enterUshell() {
        System.out.println("enter ushell");
    }
    protected void exitUshell() {
        System.out.println("exit ushell");
    }

    protected TelnetService service;
    public DeviceState(TelnetService service) {
        this.service = service;
    }
}
